package com.yh.tea.service;

import com.yh.tea.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yh.tea.mapper.UserMapper;
import com.yh.tea.model.PageQuery;
import com.yh.tea.model.UserQuery;
import com.yh.tea.utiity.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yh
 * @since 2024-02-15
 */
public interface UserService extends  IService<User> {
    ResponseResult login(User user);

    ResponseResult getUserId(String token);
    ResponseResult getUserList(UserQuery query);

    ResponseResult getUserByIds(List<Long> userIdList);

}
